package com.biz.primus.app.erpbridge.feign;

import com.biz.primus.model.price.vo.SyncPriceVo;
import com.biz.primus.model.price.vo.SyncSpecPriceVo;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author jiangnan
 * @Description:
 */
@FeignClient(name = "service-price")
public interface PriceFeignClient {

    @PostMapping("soa/priceService/syncPrices")
    void syncPrices(@RequestBody List<SyncPriceVo> reqVos);

    @PostMapping("soa/priceService/syncSpecPrices")
    void syncSpecPrices(@RequestBody List<SyncSpecPriceVo> reqVos);

}
